package com.woniu.inlet.web.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.math.BigDecimal;

@ApiModel
public class PayToOrderVo {

    @ApiModelProperty("平台id")
    private Integer payId;

    @ApiModelProperty("购买人id")
    private Integer userId;

    @ApiModelProperty("购买金额")
    private BigDecimal money;

    @ApiModelProperty("购买产品类型,fund/gold/fixed/current,基金/黄金/定期/活期")
    private String productType; //购买产品类型,fund/gold/fixed/current,基金/黄金/定期/活期

    @ApiModelProperty("购买的产品代码")
    private String codeId; //购买的产品代码

    @ApiModelProperty("购买定期和活期年化收益率")
    private BigDecimal rateOfReturn; //年化收益率

    @ApiModelProperty("购买时间")
    private String payTime;//购买时间

    @ApiModelProperty("定期时长")
    private Integer fixedDay; //定期理财产品的时长(一个月30天，一年365天),不是定期产品为0

    @ApiModelProperty("购买产品名")
    private String name; //购买的产品名

    public String getPayTime() {
        return payTime;
    }

    public void setPayTime(String payTime) {
        this.payTime = payTime;
    }

    public Integer getPayId() {
        return payId;
    }

    public void setPayId(Integer payId) {
        this.payId = payId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    public String getProductType() {
        return productType;
    }

    public void setProductType(String productType) {
        this.productType = productType;
    }

    public String getCodeId() {
        return codeId;
    }

    public void setCodeId(String codeId) {
        this.codeId = codeId;
    }

    public BigDecimal getRateOfReturn() {
        return rateOfReturn;
    }

    public void setRateOfReturn(BigDecimal rateOfReturn) {
        this.rateOfReturn = rateOfReturn;
    }

    public Integer getFixedDay() {
        return fixedDay;
    }

    public void setFixedDay(Integer fixedDay) {
        this.fixedDay = fixedDay;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
